package com.xin.di.uav.user.order.service;

import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;

public interface CommonOrderService {

    /**
     * 取消任务
     *
     * @param id
     * @return
     */
    Date cancelOrder(@RequestParam String id);

    /**
     * 恢复库存
     *
     * @param orderSn
     */
    void restoreInventory(String orderSn);
}
